package com.zzyl.properties;

import lombok.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 资源菜单白名单配置文件
 */
@Slf4j
@Data
@ConfigurationProperties(prefix = "zzyl.framework.security")
@Configuration
public class SecurityConfigProperties implements Serializable {
    //白名单列表
    List<String> publicAccessUrls = new ArrayList<>();

    //忽略列表
    List<String> ignoreUrl = new ArrayList<>();
}